﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TestePong
{
    public partial class Form1 : Form
    {
        Bola bola;
        public Form1()
        {
            InitializeComponent();
            Global.Grafico = this.CreateGraphics();
            //bola = new Bola();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void Form1_MouseClick(object sender, MouseEventArgs e)
        {
            bola = new Bola(e.X, e.Y, 20, 20, Color.Yellow);
            bola.Desenhar();
        }
    }
}
